﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Core
{
    public class Log:Entity
    {
        [MaxLength(50)]
        [Display(Name = "起源")]
        public string Origin { get; set; }

        [Display(Name = "级别")]
        public int Level { get; set; }
        
        [Display(Name = "信息")]
        public string Message { get; set; }

        [MaxLength(2000)]
        [Display(Name = "跟踪信息")]
        public string StackTrade { get; set; }
    }
}
